package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
public class UpdateProductStatusRequest {
    @ApiModelProperty("商品id")
    @NotNull(message = "商品id不能为空")
    private Long id;
    @ApiModelProperty("上下架状态 true 上架 false下架")
    private Boolean status;
    @ApiModelProperty("是否开启购买 true开启购买 false关闭购买")
    private Boolean isEnable;
}
